const executionCode = () => {
  return new Promise((resolve, reject) => {
    try {
      setTimeout(() => {
        resolve(0);
      }, 0);
    } catch (error) {
      reject(error);
    }
  });
};
executionCode()
  .then((result) => {
    console.log(result);
  })
  .catch((error) => {
    console.log(error);
  });
